home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 3: Developer Tools
/
Linux Cubed Series 3 - Developer Tools.iso
/
devel
/
make
/
icmake-6.000
/
icmake-6
/
icmake
/
comp
/
stackfra.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-02-08
|
444 b
|
29 lines
/*
S T A C K F R A . C
*/
#include "iccomp.h"
static ESTRUC_
frame;
ESTRUC_ stackframe(E_TYPE_ type)
{
frame.type = type;
switch (type)
{
case e_int | e_const:
frame.evalue = atoi(string);
break;
case e_str | e_const:
frame.evalue = lookstring(stringbuf);
break;
default:
frame.evalue = 0;
}
return (frame);
}